﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Authorization.Users
{
    /// <summary>
    /// 改装车
    /// </summary>
    public class UserRefit : FullAuditedEntity<long>
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public long UserId { get; set; }
        [ForeignKey("UserId")]
        public virtual User User { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [Required, MaxLength(20)]
        public string Name { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        [Required, MaxLength(20)]
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [Required, MaxLength(20)]
        public string Address { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(20)]
        public string Description { get; set; }
        /// <summary>
        /// 是否已处理
        /// </summary>
        public bool Disposed { get; set; }
    }
}
